#ifndef MCSY_H
#define MCSY_H
#include <QList>
#include "ccard.h"
#include <QObject>
#include <QElapsedTimer>

class MCsy:public QObject
{
    Q_OBJECT
public:
    MCsy();
    void start();
    void setCard(CCard* c);
    void stop();
    CCard * card;
signals:
    void dataArrive(const QList<double> &l);
protected:
    QElapsedTimer miaobiao;
    //float starttime;//=timeGetTime()/1000.0;
    //int d_timerId;

};

#endif // MCSY_H
